package com.tianji.remark.task;

import com.tianji.common.autoconfigure.mq.RabbitMqHelper;
import com.tianji.remark.service.ILikedRecordService;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

/**
 * @Author: 19311
 * @CreateTime: 2025-03-28
 * @Description: 定时收集点赞数并发送消息
 * @Version: 1.0
 */
@Slf4j
@RequiredArgsConstructor
@Component
public class TaskSendMessage {

    private final ILikedRecordService recordService;
//    @Scheduled(fixedDelay = 20000)
//    public void executeTask() {
//        log.error("准备发送消息到tj-learning的interactionReply的监听器中");
//        recordService.readLikeTimesAndSendMessage();
//    }
}
